﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

namespace RunCoachServer
{
    [ServiceContract]
    public interface IRunCoachService
    {
        [OperationContract]
        Boolean Login(String username, String password);

        [OperationContract]
        void Logout();

        [OperationContract]
        Boolean RegisterUser(String username, String realname, String password);

        [OperationContract]
        Boolean getDataFromMobile(Array datas);

        [OperationContract]
        Boolean deleteRunData(Int32 id);
    }
}
